Despite this grab happening in the dialog, we are also interested in
things happening outside of it. Move this grab to happen in the stage
itself, so the changed grab semantics don't make it impossible to
interact with parts of the login screen.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>
this.opacity = 0;
- Main.pushModal(this, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
+ Main.pushModal(global.stage, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
this.ease({
opacity: 255,
}
close() {
- Main.popModal(this);
+ Main.popModal(global.stage);
Main.ctrlAltTabManager.removeGroup(this);
}